	<!-- BEGIN BODY -->
<body class="page-header-fixed">
	<!-- BEGIN HEADER -->   
	<div class="header navbar navbar-inverse navbar-fixed-top">
		<!-- BEGIN TOP NAVIGATION BAR -->
		<div class="navbar-inner">
			<div class="container-fluid">
				<!-- BEGIN LOGO -->
				<a class="brand" href="<?php echo site_url() ?>/admin_home">
				<img src="<?php echo base_url() ?>assets/img/biopole.png" alt="logo" />
				</a>
				<!-- END LOGO -->
				<!-- BEGIN RESPONSIVE MENU TOGGLER -->
				<a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">
				<img src="<?php echo base_url() ?>assets/admin/img/menu-toggler.png" alt="" />
				</a>          
				<!-- END RESPONSIVE MENU TOGGLER -->            
				<!-- BEGIN TOP NAVIGATION MENU -->              
				<ul class="nav pull-right">
					<!-- BEGIN INBOX DROPDOWN -->
					<li class="dropdown" id="header_inbox_bar">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
						<i class="icon-envelope"></i>
						<span class="badge"><?php $counts = $this->db->count_all('contact_infos') ; echo $counts ?></span>
						</a>
						<ul class="dropdown-menu extended inbox">
							<li>
								<p>Vous avez <?php echo $counts ?> messages</p>
							</li>
							<li>
								<ul class="dropdown-menu-list scroller" style="height:250px">
									<?php 
										if($message != null): 
										foreach ($message as $row):					
									?>
									<li>
										<a href="<?php echo base_url()?>admin_contact">
										<span class="subject">
											<span class="from"><?php echo $row->contact_name.' '.$row->contact_surname ?></span>
											<span class="time"><?php echo $row->contact_date.' '.$row->contact_time ?></span>
										</span>
										<span class="message">
										<?php echo substr($row->contact_message , 0, 30) ;?>...
										</span>  
										</a>
									</li>
								<?php endforeach ; endif; ?>
								</ul>
							</li>
							<li class="external">
								<a href="<?php echo base_url()?>admin_contact">Voir tous les messages <i class="m-icon-swapright"></i></a>
							</li>
						</ul>
					</li>
					<!-- END INBOX DROPDOWN -->
					            
					<!-- BEGIN USER LOGIN DROPDOWN -->
					<li class="dropdown user">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
						<img alt="" src="<?php echo base_url() ?>assets/admin/img/avatar_small.png" />
						<span class="username"><?php echo $this->session->userdata('login') ?></span>
						<i class="icon-angle-down"></i>
						</a>
						<ul class="dropdown-menu">
							<li><a href="extra_profile.html"><i class="icon-user"></i> My Profile</a></li>
							<li><a href="<?php echo base_url()?>admin_contact"><i class="icon-envelope"></i> Mes messages <span class="badge badge-important"><?php echo $counts ?></span></a></li>
							<li class="divider"></li>
							<li><a href="<?php echo base_url() ?>" target="_blank"><i class="icon-globe"></i> Voir le site</a></li>
							<li><a href="javascript:;" id="trigger_fullscreen"><i class="icon-move"></i> Plein ecran</a></li>
							<li><a href="extra_lock.html"><i class="icon-lock"></i> Verrouiller session</a></li>
							<li><a href="<?php echo base_url() ?>logout"><i class="icon-key"></i> Deconnexion</a></li>
						</ul>
					</li>
					<!-- END USER LOGIN DROPDOWN -->
					<!-- END USER LOGIN DROPDOWN -->
				</ul>
				<!-- END TOP NAVIGATION MENU --> 
			</div>
		</div>
		<!-- END TOP NAVIGATION BAR -->
	</div>
	<!-- END HEADER -->
		<!-- BEGIN CONTAINER -->   
	<div class="page-container row-fluid">
		<!-- BEGIN SIDEBAR -->
		<div class="page-sidebar nav-collapse collapse">
			<!-- BEGIN SIDEBAR MENU -->        
			<ul class="page-sidebar-menu">
				<li>
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
					<div class="sidebar-toggler hidden-phone"></div>
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
				</li>

				<li class="<?php if (isset($home)){echo $home;}else{echo'start';}; ?>">
					<a href="javascript:;">
					<i class="icon-home"></i> 
					<span class="title">Accueil</span>
					<span class="arrow "></span>
					</a>
					<ul class="sub-menu">
						<li>
							<a href="<?php echo site_url() ?>/admin_home/list_slider">Slider</a>
						</li>
						<li>
							<a href="<?php echo site_url() ?>/produits_home_admin">Produits et services</a>
						</li>
						<li>
							<a href="<?php echo site_url() ?>/admin_home">A propos</a>
						</li>
					</ul>	
				</li>
				<li class="<?php if (isset($partenaire)){echo $partenaire;}else{echo'start';}; ?>">
					<a href="javascript:;" class="active">
					<i class="icon-sitemap"></i> 
					<span class="">Partenaires</span>
					<span class="arrow"></span>
					</a>
					<ul class="sub-menu" style="display: none;">
						<li>
							<a href="<?php echo site_url() ?>/admin_partenaires">							
							<span class="arrow">Liste partenaires</span>
							</a>
						</li>
						<li>
							<a href="<?php echo site_url() ?>/admin_partenaires_add">							
							<span class="arrow">Ajouter un partenaires</span>
							</a>
						</li>
					</ul>
				</li>
				<li class="<?php if (isset($produit)){echo $produit;}else{echo'start';}; ?>">
					<a href="<?php echo site_url() ?>/admin_produits">
					<i class="icon-barcode <?php if (isset($home)){echo $home;}else{echo'start';}; ?>"></i> 
					<span class="title">Produits</span>
					<span class="arrow "></span>
					</a>
				</li>
				<li class="<?php if (isset($contact)){echo $contact;}else{echo'start';}; ?>">
					<a href="<?php echo site_url() ?>/admin_contact">
					<i class="icon-envelope <?php if (isset($home)){echo $home;}else{echo'start';}; ?>"></i> 
					<span class="title">Contact</span>
					<span class="arrow "></span>
					</a>
				</li>
				</ul>
			<!-- END SIDEBAR MENU -->
		</div>
		<!-- END SIDEBAR -->
		
		<!-- BEGIN PAGE -->
		<div class="page-content">